﻿// -----------------------------------------------------------------------
// <copyright file="Contract.cs" company="">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

namespace FacePassword
{
    using System;
    using System.Collections.Generic;
    using System.Drawing;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public interface IFaceRecognition
    {
        /// <summary>
        /// connect to cam & capture frame from it
        /// </summary>
        /// <returns>frame that is captured from camera</returns>
        Image TakeFrame();

        /// <summary>
        /// fhjg 
        /// </summary>
        /// <param name="imgTaken">mhgbh</param>
        /// <returns>jh</returns>
        Image DetectFace(Image imgTaken);
        
        Image Preprocessing(Image imgTaken , float imgSize);
        
        Image ExtractFace(float timeSearch);
       
        double[] FeatureExtraction(Image takenImage);
    }
}
